package office.service.business;

import java.util.List;

import office.action.business.form.BidBookConditionForm;
import office.action.business.form.BidBookForm;
import office.action.business.wrapper.BidBookWrapper;
import platform.common.bo.Page;
import platform.common.exception.BusinessException;

/**
 * 竞标书管理
 * @author ZhangYQ
 *
 */
public interface IBidBookService {
	/**
	 * 标书其他费用申请
	 * @param form
	 * @throws BusinessException
	 */
	public void bidBookPriceApp(BidBookForm form)throws BusinessException;
	/**
	 * 获取分页信息
	 * @return
	 * @throws BusinessException
	 */
	public Page getPageInfo(BidBookConditionForm condition)throws BusinessException;
	/**
	 * 获取所有的标书
	 * @param page
	 * @return
	 * @throws BusinessException
	 */
	public List<BidBookWrapper> findAllBidBook(BidBookConditionForm condition,Page page)throws BusinessException;
	/**
	 * 编辑标书
	 * @param saleChanceForm
	 * @throws BusinessException
	 */
	public void editBidBook(BidBookForm form)throws BusinessException;
	
	/**
	 * 删除标书
	 * @param id
	 * @throws BusinessException
	 */
	public void delBidBookById(String id)throws BusinessException;
	/**
	 * 根据id获取对象
	 * @param id
	 * @return
	 * @throws BusinessException
	 */
	public BidBookForm getById(String id)throws BusinessException;
	/**
	 * 根据状态获取所有的标书
	 * @param page
	 * @return
	 * @throws BusinessException
	 */
	public List<BidBookWrapper> findAllBidBookByStatus(BidBookConditionForm condition)throws BusinessException;
	/**
	 * 标书中标
	 */
	public void bidBookBidStatus(String id)throws BusinessException;
	/**
	 * 审批标书
	 * @param id
	 * @param status
	 * @param check
	 * @throws BusinessException
	 */
	public void checkBidBook(String id,String status)throws BusinessException;
}
